home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
remote
/
showf13.zip
/
SHOWFILE.DOC
< prev
next >
Wrap
Text File
|
1992-09-13
|
4KB
|
133 lines
-=( ShowFile 1.0 )=-
What is it:
===========
ShowFile is a little utility to show ascii textfiles on screen. No much more.
BUT it allowes you to show different files for different template message
and/or file area's (and of course any other file you like to show..;-)
The user can use the PgUp, PgDn, Home and End to page through the file.
Both the ANSI keyboard control character as well as the numbers on the
numeric keyboard area recogniced.
How to:
=======
ShowFile has the following commandline syntax:
Showfile.EXE [-T:<TimeLimit>] [-N:*N] [-P:*P] [-NOS]
<F:<FileName>> [-DIR:<Path>]
-T:<TimeLimit>
sets a maximal time the user can spend in the door.
Example: -T:10 or -T:*T for the users maximal time.
Default is the time left according to the exitinfo.bbs.
-N:*N
Sets the nodenumber for the door.
-P:*P
For use on multiline systems with a single config.ra for all the lines.
-NOS
Local sound off for default. In this door it's only used for ^G characters
in a textfile.
-F:<FileName>
The name of the file to show. For default the file is searched in the
same directory as from where the EXE file has been started.
The homedirectory.
-DIR:<Path>
Set a path where the file can be found.
How to use this door:
=====================
Example 1: The echomail rules.
Make a directory RULES somewhere on your HD, and put the textfiles with the
rules into this directory. Give every file the same name and use the
areanumber as extention. F.e. AREARULE.1 for area 1, AREARULE.2 for area 2 etc.
Use the ShowFile utility like:
ShowFile.exe -N:*N -P:*P -F:AREARULE.*1 -DIR:C:\RULES
The *0 translates into the current area-template number so the correct file
is always shown.
Example 2: Info on file area's.
Let's say you want an infofile for every file area with the name of the
co-sysop in charge and such. Make a textfile in every filearea directory
named AREAINFO.BBS or something like it. Use ShowFile like:
ShowFile.exe -N:*N -P:*P -F:AREAINFO.BBS -DIR:*0
This time the Directory changes with the template area.
Example 3:
Of course you can use the door also for showing help and info files for doors
etc. like:
ShowFile.exe -N:*N -P:*P -F:TWINFO.DOC -DIR:C:\TRADEW
The advantage of this is that the user can page through the file.
The title line:
===============
You can put a line, starting with %%, at the top of the text file. Everything
after the %% will be used in the title line while showing. Default the
filename is there.
F.e. The file TWARS.DOC will show
-=( TWARS.DOC )=-
on the title line until you put a line
%%Tradewars 2002, documentation.
in the file. Then it will show:
-=( Tradewars 2002, documentation. )=-
What else:
==========
Disclaimer: Use this door at your own risk. Etc. Etc.
Limits: The door has an internal limit of 999 lines, but cuts off earlier
if there's not enough memory. A line can be maximal 78 character long.
The rest is cut-off..
Features: DV awear, Multiline awear, uses filesharing, multilanguage,
etc. etc. The usual bunch..
CardWare:
Ok.. I'm not going to ask money for thisone. If you like and use this door
please send a nice postcard to:
Gerhard Hoogterp
Kremersmaten 108
7511 LC Enschede
The Netherlands.
For comments and questions I can be reached at
Gerhard Hoogterp
2:283/1.2
HOOGTERPG@HENUT5.BITNET
HOOGTERPG@UTWENTE.NL